/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package util;

/**
 *
 * @author Welington
 */
public class Erro {
    
    public static void showMessage(Class c, Exception e) {
        String className = "%30s";
        System.out.println("[ x ] ERRO : (" + String.format(className, c.getName()) + ") - " + e.getMessage());
    }
    
    public static void showMessage(Class c, String message) {
        String className = "%30s";
        System.out.println("[ x ] ERRO : (" + String.format(className, c.getName()) + ") - " + message);
    }
}
